package com.swallow.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;

@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Long userId;
    
    private String username;
    
    private String password;
    
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    
    private Integer status;

    @TableLogic(value = "null", delval = "now()")
    private Date deleteTime;
}